package kr.co.casually.notification;

import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;

public class BootCompletdReceiver extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent) {
		if (intent.getAction().equals("android.intent.action.BOOT_COMPLETED")) {

			ComponentName cn = new ComponentName(context.getPackageName(),
					ConcertInfoService.class.getName());
			ComponentName svcName = context.startService(new Intent()
					.setComponent(cn));
		}
	}
}
